<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html xmlns="http://www.w3.org/1999/xhtml">

	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
		<meta name="format-detection" content="telephone=no" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0,  maximum-scale=1.0" />
		<meta name="format-detection" content="telephone=no" />
		<meta name="apple-mobile-web-app-capable" content="yes" />
		<meta name="apple-mobile-web-app-status-bar-style" content="black" />
		<meta content="black" name="apple-mobile-web-app-status-bar-style" />
		<link rel="stylesheet" type="text/css" href="${ctxStatic}/shop/css/public.css"/>
		<link rel="stylesheet" type="text/css" href="${ctxStatic}/shop/css/reset.css"/>

	</head>

	<body id="body">
		<div class="home">

				<!-- 轮播图开始 -->
				<div id="tab">
					<c:forEach items="${map['顶部轮播']}" var="list">
						<img src="${list.img}" name="tabimg" class="tabimg">
					</c:forEach>
				</div>
				<!-- 轮播图结束 -->
   

			<!-- 一级菜单-->
			<div class="g_nav">
			<ul class="clearfix">
				<c:forEach items="${map['一级菜单']}" var="list">
					<li>
						<a href="${list.url}">
							<img src="${list.img}" alt="">
							<p>${list.name}</p>
						</a>
					</li>
				</c:forEach>
			</ul>
		</div>
			<br/>
			<!-- 内容 -->
			<div class="h_div1">
				<c:forEach items="${map['生活超市']}" var="list">
				<span>${list.name}</span><span style="float: right;margin-right: 3% "><a style="color:#666;" href="mistiming">更多&nbsp;></a></span>
				</c:forEach>

				<div class="h_div2">
					<c:forEach items="${menupage}" var="menupage">
						<a href="easyLifedetails?name=${menupage.name}">
					<div>
						<img src="${menupage.img}"/><br/><span></span>
					</div>
						</a>
					</c:forEach>

					<%--<div >
						<img src="${ctxStatic}/shop/images/shou2.png"  />
						<br/><span ></span>
					</div>
					<div >
						<img src="${ctxStatic}/shop/images/shou2.png"  />
						<br/><span ></span>
					</div>
					<div >
						<img src="${ctxStatic}/shop/images/shou1.png"  />
						<br/><span ></span>
					</div>
				</div>
			</div><br>

			<div class="h_div1">
				<c:forEach items="${map['生活超市']}" var="list">
					<span>${list.name}</span><span style="float: right;margin-right: 3% ">
					<a style="color:#666;" href="${list.url}">更多&nbsp;></a>
					</span>
				</c:forEach>
				<div class="tuan_div">
					<div class="tuan_div1">
						<c:forEach items="${menupage}" var="menupage">
							<a href="easyLifedetails?name=${menupage.name}">
								<div class="tuan_div2">
									<img src="${menupage.img}">
								</div>

								<div class="tuan_div3">
									<span class="tuan_div3_sp">${menupage.name}</span>
									<span class="tuan_div3_sp1">
								<%--<img alt="" src="${ctxStatic}/shop/images/location.png">
								距离：100km</span>--%>
						<%--<a href="../mistiming/business.html">
							<div class="tuan_div2">
								<img src="${ctxStatic}/shop/images/ssss.png">
							</div>
							<div class="tuan_div3">
								<span class="tuan_div3_sp">青柠味的小不点</span>
								<span class="tuan_div3_sp1">
								<img alt="" src="${ctxStatic}/shop/images/location.png">
								距离：100km</span>

								<span class="tuan_div3_sp2">
									价格：￥${menupage.price}
									<img alt="" src="${ctxStatic}/shop/images/shoppingcart.png">
								</span>


								</div>
							</a>
						</c:forEach>--%>

						<div style="width:100%;height:10px;float:left;"></div>
					</div>

					<div class="h_div1"></div>

				</div>
			</div>

			<div style="height: 10%;width: 100%; float:left;"></div>

		</div>
		<script src="${ctxStatic}/shop/js/jquery-1.6.2.min.js"></script>
		<script type="text/javascript" src="${ctxStatic}/shop/js/public.js"></script>
		<!--底部导航栏 -->
		<div class="nav" id="tabbar"></div>
		
		<script type="text/javascript"> 
		$(function(){
   			document.getElementById('homes').setAttribute("src","${ctxStatic}/shop/images/1.1.png");
		})
		</script>

	</body>

</html>